
<#include "/WEB-INF/template/mp/title.ftl" />

<link rel="stylesheet" type="text/css" href="${base}/mp/css/style_home.css" media="all" />
<link rel="stylesheet" type="text/css" href="${base}/mp/css/brands.css" media="all"/>
<link rel="stylesheet" type="text/css" href="${base}/mp/css/top.css" media="all" />
<link rel="stylesheet" type="text/css" href="${base}/mp/css/style_info.css" />

<script type="text/javascript" src="${base}/mp/js/jquery-1.7.min.js"></script>
<script type="text/javascript" src="${base}/mp/js/jquery.raty.min.js"></script>
<script type="text/javascript" src="${base}/js/img_onerror.js"></script>

</head>
<body>

<#include "/WEB-INF/template/mp/menu_bar.ftl" />

<div id="wrap">
  <#include "/WEB-INF/template/mp/header_bar_search.ftl" />
  <div class="center_content">
    <div class="left_content">
      <div class="title">
      	<span class="title_icon">
      		<img width="26px" height="26px" src="${base}/mp/images/search_button.png" alt="" title="" />
      	</span>
      	搜索结果
      </div>
      <div class="clear"></div>
      
      <#if !list?? || (list?size<1) >
      	啊哦....木有搜索结果! 
      <#else>
      
      <#list list as brand>
      
      <div class="feat_prod_box brand_search_item">
        <div class="prod_img">
        	<a href="${base}/brand.html?id=${(brand.id)!''}">
        		<img width="120px" height="120px" src="${(brand.logoAbsolutePath)!'${base}/mp/images/prod1.gif'}"
		      onerror="javascript:nofind(this,'${base}/images/ppyeah.png');" alt="" title="" border="0" />
        	</a>
        </div>
        <div class="prod_det_box">
          <span class="special_icon">
          	<img src="${base}/mp/images/special_icon.gif" 
		      onerror="javascript:nofind(this,'${base}/images/ppyeah.png');" alt="" title="" /></span>
          <div class="box_top"></div>
          
          <div class="box_center" >
          
            <div class="prod_title">${(brand.name)!'undefine'}</div>
            
            <div class="recommend_div">
		      	<div class="gray" style="margin-left:10px;">推荐指数：</div>
		      	<div class="left recommned_level">
			      	<div id="star_recommend_${brand_index}"></div>
			      	<div id="hint_recommend_${brand_index}"></div>
			      	<div id="star_message_${brand_index}"></div>
		     	</div>
			    <script type="text/javascript">
				     $('#star_recommend_${brand_index}').raty({
						path : '${base}/mp/ratyimg/',
						start : ${(brand.level)!'0'},
						hintList : ['一星', '二星', '三星', '四星', '五星'],
						target:     '#hint_recommend_${brand_index}',
					    targetKeep: true,
					    readOnly : true,
						click: function(score, evt) {
							$("#star_message").val(score);
						}
					});
				</script>
	    		<div class="clear"></div>
    		</div>
	    	<div class="clear"></div>
            <div class="search_brand_onlinestore">
            	到这里买：<a href="${(brand.topOnlineStore.pcUrl)!''}">${(brand.topOnlineStore.name)!''}</a>
            </div>
    		<div class="operate">
            	<div class="clear"></div>
		        <a href="${base}/brand.html?id=${brand.id}#comment_input_div"> ${(brand.commentCount)!'0'}条点评 </a>
	            <a href="${base}/brand.html?id=${(brand.id)!''}">- 品牌详细信息 -</a>
            	<div class="clear"></div>
            </div>
          </div>
          <div class="box_bottom"></div>
        </div>
        <div class="clear"></div>
      </div>
      
      </#list>
      
  	  <#include "/WEB-INF/template/mp/pagebar.ftl" />
    	
      </#if>  
	      
      <div class="clear"></div>
      
    </div>
    <!--end of left content-->
    <div class="right_content">
      <div class="currency">
      	<span class="red">热门标签: </span>
      	<p />
      	<li><a href="${base}/brand/search.html?keyword=HTC">HTC</a></li>
      	<li><a href="${base}/brand/search.html?keyword=IPHONE">IPHONE</a></li>
      	<li><a href="${base}/brand/search.html?keyword=三星">三星</a></li>
      	<li><a href="${base}/brand/search.html?keyword=诺基亚">诺基亚</a></li>
      	<li><a href="${base}/brand/search.html?keyword=凡客诚品">凡客诚品</a></li>
      	<li><a href="${base}/brand/search.html?keyword=耐克">耐克</a></li>
      	<li><a href="${base}/brand/search.html?keyword=波斯登">波斯登</a></li>
      	<li><a href="${base}/brand/search.html?keyword=HTC">HTC</a></li>
      	<li><a href="${base}/brand/search.html?keyword=IPHONE">IPHONE</a></li>
      	<li><a href="${base}/brand/search.html?keyword=阿卡家">阿卡家</a></li>
      	<li><a href="${base}/brand/search.html?keyword=HTC">HTC</a></li>
      	<li><a href="${base}/brand/search.html?keyword=IPHONE">IPHONE</a></li>
      </div>
      <div class="cart">
		<#include "/WEB-INF/template/mp/other_search.ftl" />
      </div>

      <div class="right_box">
        <div class="title">
        	<span class="title_icon">
        		<img src="${base}/mp/images/bullet4.gif" alt="" title="" />
        	</span>
        	热门品牌
        </div>
        
        <#list top10List as brand >
        <div class="new_prod_box">
          <a href="${base}/brand.html?id=${(brand.id)!''}">${(brand.name)!''}</a>
          <div class="new_prod_bg">
          	<span class="new_icon">
          		<img src="${base}/mp/images/promo_icon.gif" alt="" title="" />
          	</span>
          	<a href="${base}/brand.html?id=${(brand.id)!''}">
          		<img src="${(brand.logoAbsolutePath)!''}" width="80px" height="80px" alt="" title="" class="thumb" border="0" />
          	</a>
          </div>
        </div>
        </#list>
        
      </div>
      <div class="right_box">
        <div class="title">
        	<span class="title_icon">
        		<img src="${base}/mp/images/bullet5.gif" alt="" title="" />
        	</span>
        	热门店铺
        </div>
        <ul class="list">
          <#list top30OnlineStore as store>
          <li><a href="${(store.pcUrl)!''}">${(store.name)!''}</a></li>
          </#list>
        </ul>
      </div>
    </div>
    <!--end of right content-->
    <div class="clear"></div>
  </div>
  <!--end of center content-->

  <#include "/WEB-INF/template/mp/footer_bar.ftl">
  
</div>
</body>
</html>
